﻿@model VehicleManagement.Models.Message
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<link rel="stylesheet" href="@Url.Content("~/Content/css/page_zlb_c_e_d.css")" type="text/css"/>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    @Html.Partial("_PartviewAdminNav")
    <div class="content bc">
        <div class="content_link_warn f12">
            你当前的位置：司机管理&gt&gt &nbsp;&nbsp;司机查询&gt&gt &nbsp;&nbsp;所有司机列表
        </div>
        <div class="content_right fr" id="rightcontent">
            @using (Html.BeginForm())
            {
                @Html.ValidationSummary(true)
                <fieldset>
                @*<legend></legend>*@
                <div class="OutTitle">
                    <span>Message信息录入</span></div>
                <div class="Box">
                    <div class="SubBox1 mt5 ml15 mr15">
                        <div class="SubTitle">
                            Message基本信息</div>
                        <div class="SubBox-container">
                            <div class="text-wrap">
                                <div class="text-line">
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.ReceiverID):</span>
                                        @Html.EditorFor(model => model.ReceiverID)
                                        <div class="special-validate">
                                            @Html.ValidationMessageFor(model => model.ReceiverID)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.ReceiverRole):</span>
                                        @Html.EditorFor(model => model.ReceiverRole)
                                        <div class="special-validate">
                                            @Html.ValidationMessageFor(model => model.ReceiverRole)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.ReceiverName):</span>
                                        @Html.EditorFor(model => model.ReceiverName)
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.ReceiverName)
                                        </div>
                                    </div>
                                </div>
                                <div class="text-line">
                                    
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.SenderID):</span>
                                        @Html.EditorFor(model => model.SenderID)
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.SenderID)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.SenderRole):</span>
                                        @Html.EditorFor(model => model.SenderRole)
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.SenderRole)
                                        </div>
                                    </div>
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.SenderName):</span>
                                        @Html.EditorFor(model => model.SenderName)
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.SenderName)
                                        </div>
                                    </div>
                                </div>
                                <div class="text-line">  
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.MessageText):</span>
                                        @Html.EditorFor(model => model.MessageText)
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.MessageText)
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="SubBox2 m15 mt10 mb5">
                        <div class="SubTitle">
                            Message相关信息</div>
                        <div class="SubBox-container">
                            <div class="text-wrap ml5 mb5 mr5">
                                <div class="text-line">
                                    
                                    <div class="withValidate">
                                        <span>@Html.LabelFor(model => model.IsChecked):</span>
                                        @Html.EditorFor(model => model.IsChecked)
                                        <div class="validate">
                                            @Html.ValidationMessageFor(model => model.IsChecked)
                                        </div>
                                    </div>
                                </div>
                                <div class="withValidate">
                                    <span>@Html.LabelFor(model => model.SendTime):</span>
                                    @Html.EditorFor(model => model.SendTime)
                                    <div class="validate">
                                        @Html.ValidationMessageFor(model => model.SendTime)
                                    </div>
                                </div>
                            </div>
                            <div class="text-line">
                                <span class="spanType1">@Html.LabelFor(model => model.Remark):</span>
                                @Html.TextAreaFor(model => model.Remark)
                            </div>
                        </div>
                    </div>
                </div>
                <div class="button-wrap">
                    <div class="submit-wrap">
                        <div class="divINsubmit">
                            <input class="submit" type="submit" value="创建" /></div>
                    </div>
                    <div class="a-back mr15">
                        <div class="divINa-back">@Html.ActionLink("返回", "Index")</div>
                    </div>
                </div>
            </fieldset>              
            }

        </div>
        @Html.Partial("_PartviewMessgeleftbar")
        <div class="content_contract fl">
            <a href="javascript:void(0)" class="btn_contract w8h32" id="contract" title="收缩">
            </a><a href="javascript:void(0)" class="btn_expand w8h32" id="expand" title="展开">
            </a>
        </div>
        <div class="cb">
        </div>
    </div>

